package cn.ml.springdemo.aop;

public class Son {
    private String name;

    public void say(){
        System.out.println("i am " + name);
    }

    public void makeProposal(){
        System.out.println("求婚！！！");
    }
    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
